add unit tests and correct documentation

Enyo-DCO-1.1-Signed-Off-By: Cole Davis (cole.davis@lge.com)