separate getGohan logic into scripts/gohan.coffee

add tests