added test
removed unused func
added capture-syntactic-environment
fixed syntactic closure bug