#24 move exception class from test to main folder