add is_reference_test.cpp