Add semantic analysis test cases
Allow arbitrary statements in class body

Fix #103.