add tests for partial page refreshing