added tests for 404 and not found