fixed typo and remove test exit