added tests
added tests
fixed bugs in lookupo