Add init and apply tasks to tests task