added Tests, implemented google like search