Added tests for new try-with-resource statment (see ceylon/ceylon-compiler#1125)