updated lib file, correct typo
included tests