#516: fix test