Add test for get() method