fixed tests
updated godoc