Added tests for front controller