Ended tests and correct functions for use methods from extended class
SCControllerTest instead of local methods
Added type manager and controller functions. Tested in normal cases and
null param cases.
Fixed setLimit method and correct the description