Made getValue a publicly accessible function
Test code was incomplete. Derp.