extracted code used in 3 tests to before block
extracted code used in 3 tests to before block

donpiekarz/atmosphere,dice-cyfronet/atmosphere,donpiekarz/atmosphere,donpiekarz/atmosphere,dice-cyfronet/atmosphere,dice-cyfronet/atmosphere