Karma directives test update

Signed-off-by: Simon Bailey <simon@newtriks.com>