refactored EditTextAlignmentTest

Fix for #735.
The test failed when the name of one bricklayout was an extension of an other bricklayout (i.e. "when" and "when_speech_recieve", see https://jenkins.catrob.at/job/Catroid-Multi-Job-Custom-Branch/567/)