Added references tests