updated tests for the separation between returnValue and Exceptions