add test for multiple catch, diamond bracket, try with resources