Fix tests configuration