update interface with main pkg and add new test