Add passing specs for log directive
add spec to test for scope in _.log