fixed tests
fixed deploy script