Introduced personal functions for un-clutting test code. Checked all code in stockpile