fix sanity tests