Generate a simple test case using the controller, wrap tests uing mockril in a seperate package. Change-Id: Iae9422ec30963aae79cc1b58e17df6cff16955c8