fixing minor issue in functions.php

Signed-off-by: RJ Garcia <rj@bighead.net>
updating old documentation in tests

Signed-off-by: RJ Garcia <rj@bighead.net>