Template fixes:
- Fix more template bugs which made parsing of a combination which already was defined failed.
- Make pointer test more complicated