Fixed test ref-count test case

Forgot to call the functions, so two of the assert statements were being
missed.