adiitions and updations in lib

one test case added and webnotes/utils/__init__.py