First successful test. Some bugs fixed in client and collection classes