NEW: Tests: Add some basic test cases and exploratory code.