added two piece tests and test.sh script