Perform time-setting in test rather than use delays which slow down build