Removed use of diamond operator in tests.