add sanity unit tests