Make test instance optional