Unit Tests

- Added confirmation to prevent hang on various platforms.