Fixed test, still transactions not working properly