Moved test methods from sdk into specs. Fixed bug with old synchronous methods
Change oncomplete back to success callback for getLoggedInUser
* since oncomplete doesn't have params