Added simple controller and some minor test case