add test with fields