Testing methods JUNIT