add tests for getting cached properties from users
Merge pull request #831 from dimagi/tests

add tests for getting cached properties from users