first tests with mock worked