Fixing inversed test
Now getText works properly.