Two small test for reference and hashing