Test Driven Development (Javascript)