Merge pull request #1113 from akbargumbira/develop

#1097 Add more tests in realtime. The coverage is 86% now.
Merge pull request #1117 from akbargumbira/develop

Fix tortuous 3 failing tests
Fix render html to pdf and use lower dpi to fasten test.