application handlers only get injected in non test