updated docs with options, added tests for compaction options