Test for setCurrentUser followed by currentUser
Merge branch 'master' of https://github.com/lithiumtech/li-rnr-hack
.flush is needed for spyOn to work correctly with promises