a simple golang testing and benchmark example