Added new tests for calling Register from multiple types and multiple threads