added factory girl, capybara, and wrote some tests