some tests for dict