Added test for post not found redirect