TDD checkout kata in node