had some issues with tests db locks so do not run anything if in test environment for now