remove old code and add Sherlock test code