add tests for auto