updates to models and resources

add test file (working with 2 env variables: STORMPATH_API_KEY and STORMPATH_API_SECRET)