fix sanity check test