Added unit tests for auto fixes