fixed test due to change in function position (moved into an object)
suspended controller test pending when appConfig is properly mocked