Test cases for paper, jar file for stub RE, minor clean up