Added tests and configurable title

Fixes #129