Trying to get Unit Test Directive functioning. Getting undefined error