Working on tests.

Signed-off-by: crynobone <crynobone@gmail.com>