adding new tests for users lib and api
trying to get the api tests working