Small changes to directiveWithSpec tests