adding read testing code to simple.go