todo: some tests