Added removeAllOverrides method
Added tests for override functions