make test more generic