made gosat_test.go from tools/example.go
pulled in some changes