Adding exception class and testing github