Minor changes to SqlController
Added new tests for controller accessors