Add some tests to help with porting.