Add new tests to postType.
Fix #9. Set the directory separator.