Fixed tests and class issues

All the necessary tests have been fixed or completed.
Archive list is now a subclass of list
ApiTest is a class that tests the API using the network.
OpenTokTest mocks the httpClient behavior for the tests