add trivial test
move binding declarations to top