move 404 test to its right place