Added tests for .perl on hashes, explicitely typed or not