added unit tests for owin metrics adapter