spec files to test various ruby functions