JUnit teste error

Solved a problem in the JUnit tests