Adding test case for pivot options