Fixed problem with loading objects by id, added unit tests, apiid minor bug fix, updated dependencies