Add a sanity unit test