gets tests working, adds missing method to application helpers