Fixed sanity tests