more todo notes
move unit tests to separate file under test/scripts/