fixed integrationTests and created Exception Wrapper class