Removed test WRITE statements