State type moved to Hubs class
a couple of very basic tests