Added support for testing only some functions.