[TASK] Changed the order for creating the timestamp

This should prevent runtime issues when the test is executed