add test folder for test etc.
add exception test code.