-module "Approachable"
+module "Approachable",
+  setup: ->
+    obj = GameObject()
+    obj.include Approachable
 
 test "objects count down each of their cooldowns", 2, ->
-  obj = GameObject
+  obj.I = 
     bullet: 83
     cooldowns:
       bullet:
         target: 3
         approachBy: 1
-
-  obj.include(Approachable)
 
   5.times ->
     obj.update()

  equals obj.I.powerup, 0, "powerup should not cooldown past target value"

test "adding many cooldowns to default instance variables", 3, ->
  obj = GameObject
    cool: 20
    rad: 0
    tubular: 0

  equals obj.I.tubular, 4

test "#addCooldown", 3, ->
  obj.addCooldown 'health'

  3.times ->
