Don't you think that the instanciation before asserts is rather complicating the code? I think it would be more readeble to have it directly in the asserts.