Exposed methods for testing
Added warning documentation
Added another method for exposure to tests
Added tests