Added test to check that history is returned
Added test for partial history