Added common code for test