Added time/size limits to test utility