Add tests for page not found error

Signed-off-by: Vasudev Kamath <kamathvasudev@gmail.com>