PCT-565 Fixed error in test