updated library dependencies
added test for mismatching type