Add a correct test script and build badge