removing test related statements