test.go for shared testing functions
add solaris to build - tested with omnios
refactor request parameter parsing