update factoids tests

update tests for factoids command
add search command
add search command