remove dummy test, use rspec, add setting module and error module