Added assert true to optional dependencies and patterns test to prevent failure in phantomjs.