Add test and fix #1108 (fix identation)
Add test and fix #1108 (fix identation)

rasjani/canjs,bitovi/canjs,rjgotten/canjs,ackl/canjs,beno/canjs,bitovi/canjs,patrick-steele-idem/canjs,patrick-steele-idem/canjs,gsmeets/canjs,whitecolor/canjs,Psykoral/canjs,ackl/canjs,whitecolor/canjs,gsmeets/canjs,beno/canjs,rasjani/canjs,rasjani/canjs,tracer99/canjs,rasjani/canjs,ackl/canjs,beno/canjs,rjgotten/canjs,Psykoral/canjs,Psykoral/canjs,UXsree/canjs,rjgotten/canjs,rjgotten/canjs,patrick-steele-idem/canjs,UXsree/canjs,whitecolor/canjs,bitovi/canjs,Psykoral/canjs,gsmeets/canjs,bitovi/canjs,tracer99/canjs,tracer99/canjs