updated dependencies
fixed a typo and added a test to detect similar issues