Improvement of page engine tests

Tests for the PageEngine class are no longer template tests.