Add rspec testing

Added initial spec testing and fixed a file present which turned out to be
missing.