Tests, removed debug printfs