Add more tests for upcheck error handling