Factored out allEqual function to own util file
Wrote all hub tests