PHOT-46:  fix tests