refactoring PrepareVelocityContextServiceTest to use new abstract test
class helper methods replayDefaults and verifyDefaults
refactoring PrepareVelocityContextService to not access PageTypeApi and
use PageTypeService and PageTypeResolver instead