PM-4492 adding tests