Add rest sanity check and make targets for test