Use latest junit4 and hamcrest in templates

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>