Add main provider unit tests