Fixed rotating masks tests