some tests using classes as arguments and accessing their variables