added tests for NotFoundException for inspect calls