add a simple test for the main page generator