Added tests for the .ref