Adding tests for mock and fake adapter