added sanity tests