added tests for partition_tests