Add spec for parse_arguments

Had to rename one of them because ruby piles every file
on top of previous, and these two parse_arguments() were
overwriting each other -- making it impossible to test.

Change-Id: I0735414d95d30e93dadab772fa706cb8244a50b6