Implemented  tests