a few updates

1. remove temporary files after generating docs,
2. unit test updated for checks of extract ranges,
3. building unit tests with maven