Add missing function decorators, and remove long double literals
Add complex transform tests.