adds feature test and toggle