Test refactor

This pull request improves the existing tests, adds tests for untested methods, and removes `minitest` in favor of `rspec`