working controller as tests