Add test case for http://youtrack.jetbrains.com/issue/IDEA-128498