Add unit test for using the obj inside the with

This is the root cause of
https://github.com/visionmedia/jade/issues/1054
Fix case of obj in body of with