Functions for running tests from vim