added first test using sql mock