Add tests for recent issues