added reload and compact unit tests