[UPDATE] updated test to include nan filter.