Wrestling with directive unit testing