Sanity tests and correct import