test: add dict tests