added redis build and redis tests and a couple other fixes