Fixed failing test in ViewClientController spec
Fixed warning in karma test runner