fixing the check tests