Full Basic Test Suite

Have working tests for all scripts. TODOs mark testing gaps.