add compaction test
trim whitespace
Merge pull request #13 from aaylward/testcompact

add compaction test