Add test case for https://github.com/konsoletyper/teavm/issues/27