Trailing whitespace trimmed
Added new test to check for __each