Splitting getInstance tests for exceptions