[SD-717] Modifying behave tests to work when AD is active