add unit tests for catalyst file