added test for enable and disable.