Debugged test class. Now it works