added feature test
all features passing
go works
slight refactor