Refactors post unit test