added some test code, view code, 404 page