add tests for the advanced interface