replaces int with double across tests