Added comments to explain boundary conditions. Also added (expected = Exception.class) at the annotation @Test to signal exceptions are thrown when testing.