[dave-1] added tests