Clean up token generator test
Clean up ruby