fix zero parameter list functions evaluation

- parameterless functions applied when accessed
- add test for issue above