Updated mock controller

The mock controller was missing some functions preventing the app to start correctly.