Added test file for controller