more tests. remove debug statements.