Some fixes to littlespoon.sh, added preliminary testing codes.