Fix most specs and improve the testing environment

Remove debugger entry point `binding.pry`.