Add test
Don't export TARGET from utilities (it's a global variable)
Introduce global bindings; move definition of TARGET