update: Added summary to test.rb

* Added summary directly into `test.rb` to make it easier to run it on
  travis-ci.

* Replaced `append` with `push` which is actually what ruby expects.

Signed-off-by: mr.Shu <mr@shu.io>