added tests for vem