Fixed tests
Splitted main logic in gobot package
Added test target