Added a series of unit tests for the api resources, updated documentation accordingly.