fixed app.controller test
added mock posts