added more controller tests
added column sorting