Spec setup

Install rspec, create tests for Losts model, and fix some problems.