Add some initial tests and fix role => data-hook in readme