tested exception for get