Fixed db connection, everything was being saved in test environment