tests for recursive complex typed variables