Adjusted test for newly added is-it-a-dict check