Added test cases for the front controller