update dependencies
improve tests