Corrected tests and tweaked build system for ovation_api