Add test for ceph partitioning scheme

* Add test for ceph partitioning scheme;
* Refactor test_partition, make it DRYer;

Change-Id: I1bb8ef67b93307899424154a42ec438ed9432423