added raises annotations and increased coverage

2 jobs for dev_pfeiffer_tpg