fix require for tests
add better_errors gem
update schema.rb