Almost all tests implemented