fixed wrong scope of testing lib