Update test - patterns saving and loading.