Added a new test case for a simple struct type. NB the StructCase test does randomly fail and is therefore not yet part of the unit test (the @test is out commented).