Fixed awful bug with test invocations.