fix azure deploy script
add unit test