tests for things that can be tested with pure java