File page tests

Adding tests for file page and file page history and diff pages.

@bognix @kkarolk This is ready for code review.