tests for sanity checks