add test scripts and src