Test that unkown statements raise an error.