test added
fix wrong tests
interface changed