some modification for template

1. use jasmine.any() rather than typeof;
2. add expectobjcontain for support jasmine.objectContaining;