changed name of directive to categoryOptionsList instead of categoryInput + improved test.