reworks testing, adds redis tests