[Misc] Fix unknown macros in functional test
[Misc] Remove unnecessarily complex test code :)