Moved test setup script into tests folder