Initialize chai-as-promised in separate module
Fix tests for node v0.6