improved Task.make method and added more tests to TasksSpec.js