add some tests and kvfa