Fix #4 by getting the correct value to testing with input patterns
Update dependencies version
Update test cases for #4
Update version number