Simple poker application written in JS / Node with TDD in Jasmine