added test for explain