Fixed gem file generation problem

Fixed problem related to generating test file names and added missing
test output files.
Merge pull request #56 from rjack1201/gem-generation-fix

Fixed gem file generation problem