Testing various ruby hacks and tricks