Add example to note_default_ref method

Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>