tests coverage rate to 96% with related exception handle