Added unittesting. Currently just for the SubProviders.