Fixed test, still transactions not working properly
changing transaction .commit to work as expected, still work to do