Implemented custom exception and updated test