removes test unit tests and recreates Rspec and refactors tests