Refactoring frontend

stub? We are using FactoryGirl! If you want complete this test in our way. otherwise delete it.