cleared the optimization api tests