javascript test passed
go through test. Finish TestTypeService partially.