fixed issues in partitiontests