added small fwlite test macro for python code
removed a function that does not compile