Add unit test for issue #52

Unit test to check whether you can overwrite state with the same key in PageInfo.