Put foundation namespace rest in test helper

Reason: the dummy app is not started when running tests with phantomjs