Switch swap tests to lightweight_test.