add function testcases
add testcase template for image
solved ticket https://issues.jboss.org/browse/RAILO-3077