Add returning error to Parse
Implement HasKey with tests for #1