you're being subjected to these entry level assessments because you haven't proved that you can apply your software design skills across different paradigms - build a portfolio or maintain a github
Some might say you shouldn't want to work at those companies if you don't like their hiring process, as though there's nothing to any company but the hiring process. It's like saying you shouldn't join the military if you don't like basic training. Nobody likes basic training. People join organizations despite those things, and I for one am not going to judge them or assume their reasons are silly just because I might decide differently.