Test fluent register interface and fix c extension

this should fix the issue with the c extension not returning self. Fixes #154