test for invalid funds