cleanup of arithmetic prvs for tests