make unit test tran object use new preffered pattern to get rid of IDE warnings and have better performance