cleaned some testing code