fixing password reset bug and updating run tests script