Add tests for inner_product