#586: fixed tests build