Perform sanity check