$firebase: test covarage for config.object/arrayFactory being non-function injectables
move static function assertArray() outside of closure so it's only created once.