fix for testacular issues 388

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