benchmarks and testing in go

on benchmarking / optimization

on testing