PHOT-20: fix test