func spec for hw02
test scripts