DbCommand implementation added with tests