pinning dependencies versions
Improving tests