simplify test (no more hash matching)
add a error case
add a case for error and pass
format a little more clearly
shadowing isn't good
Merge pull request #1 from totalcareauto/update-interface

Update interface