fixed and added more tests
fixed and added more tests

R=r
OCL=22187
CL=22187

apparentlymart/golang,firebitsbr/golang-old,tianon/debian-golang,wesolows/golang-old,tianon/debian-golang,h8liu/golang,apparentlymart/golang,bdwalton/debian-golang,tianon/debian-golang,h8liu/golang,h8liu/golang,firebitsbr/golang-old,wesolows/golang,bdwalton/debian-golang,gnanderson/go,tv42/old-go,nightlyone/golang,tianon/debian-golang,gnanderson/go,dsriram/golang,firebitsbr/golang-old,tv42/old-go,apparentlymart/golang,tv42/old-go,nightlyone/golang,bdwalton/debian-golang,pombredanne/go-deleteme,tianon/debian-golang,wesolows/golang,ssrl/go,tv42/old-go,gnanderson/go,h8liu/golang,firebitsbr/golang-old,wesolows/golang-old,wesolows/golang,wesolows/golang,wesolows/golang,gnanderson/go,ssrl/go,apparentlymart/golang,ssrl/go,wesolows/golang-old,ssrl/go,bdwalton/debian-golang,pombredanne/go-deleteme,dsriram/golang,nightlyone/golang,gnanderson/go,nightlyone/golang,wesolows/golang-old,dsriram/golang,apparentlymart/golang,h8liu/golang,apparentlymart/golang,pombredanne/go-deleteme,tianon/debian-golang,pombredanne/go-deleteme,firebitsbr/golang-old,bdwalton/debian-golang,nightlyone/golang,pombredanne/go-deleteme,nightlyone/golang,tv42/old-go,tv42/old-go,pombredanne/go-deleteme,wesolows/golang-old,firebitsbr/golang-old,bdwalton/debian-golang,bdwalton/debian-golang,wesolows/golang,ssrl/go,gnanderson/go,ssrl/go,gnanderson/go,firebitsbr/golang-old,ssrl/go,wesolows/golang,dsriram/golang,wesolows/golang-old,firebitsbr/golang-old,tv42/old-go,pombredanne/go-deleteme,apparentlymart/golang,h8liu/golang,dsriram/golang,nightlyone/golang,bdwalton/debian-golang,h8liu/golang,tianon/debian-golang,dsriram/golang,wesolows/golang-old,dsriram/golang,tianon/debian-golang