Added test module.

Fixed output message formatting issue (commas added).
Fixed incorrect attribution for EP rewards in output message.