Future.js unit tests