reorganize spec file to be compatible with sublime ruby test