closes #908, make convertToPartitioned a test-only function