add tests for interface
todo