Added tests for getting page with wrong type and by invalid content reference