Fix namespace in demo and tests, close channels, code cleanup
Merge pull request #168 from Locu/go-fix

Fix namespace in demo and tests, close channels, code cleanup