some basic tests for controller