Added unit tests for pageBuilder.