added tests for primitive type mandatory parameters