|#275|+Manan| Refactoring code; Writing test for jasper report generation.