Add unit test script for Jenkins.