Fix bug in initializing of the test instance.