finished controllers tests and helper test