updated spec so that the layout is cleaner, added helper file, and updated travis yml