implemented try/catch. finally is not implemented (yet)
added test for take inside catch