Provider unit tests