Finished security provider unit tests