core tests: Add use vec; directive inside core::hashmap tests

This is probably to work around a bug.