add unit tests and init VAD class