Adding in some test scripts and small fixes

Signed-off-by: Joe Buck <jbbuck@gmail.com>