Base tests for dictionary