Fix for testacular  #388

https://github.com/testacular/testacular/issues/388