add failure tests
use right mock store
add return status codes, tests updated
tests associated messages for return codes