Extened testing to cover bad callback values in test and check correct errors are thrown