1. Added tests for APIs (http://datacache.org/#API).

2. Fixed a bug related to lineRegExp.

3. Modified test result template so that the summary is also displayed in the end.