Rename test folder to spec, clean up code, and update README