adapter throws exceptions test