adding tests, minor refactor of build*

Added tests for sentinel. Mainly testing the building of Structs from
a map[string]string.

Moved build*Struct methods to be unexported *Redis methods to enable
testing.