Implemented check for existing tests in shop.