Example of spec and basic ruby behaviour/idioms testing