Fixed tests. Added description to function.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>