removing testing code from production