Make test automated