This block would be better on one line. And as per style guide, multi-line blocks should use do end instead of {}. 
Same in the next tests.