Added rspec, activerecord. Created some tests