test primitive types

most of the primitive types work, except for long double and long long.