Implementation for test case https://github.com/LearnBoost/expect.js/pull/88, resolve https://github.com/LearnBoost/expect.js/issues/50