added autotest