tests: do not accept object