added testLib and testAdditional from warmup
added test cases
added try except around json.loads