Cleaned up a lot of Search unit tests. Analysis should be all good to go, COdecs and Document are soon to follow