Add tests for Bug #65538