fix obound memoryviews
tidy up test program