testing scalar operations in c backend