twinxy test code

test_twinx generalised to also test twiny in a separate subplot