Renamed test.
Added test for annotatedValueCanNotBeNull with exception consistency.