Add legacy mocks for el4

This commit adds legacy mocks for PE el4
WIP