Add test that get method throws expected exception