You misconfigured you property place holder. src/main/resource is not in your classpath, you should have put something like:
<context:property-placeholder location="classpath:test.properties"/>
For the configuration of your context, you could :
a. filter your spring context directly:
<bean class="java.lang.String" id="nameTest">
<constructor-arg value="${testName}"/>
</bean>
b. Or filter your test.properties configuration file and then inject it as a property-placeholder in your spring.xml:
test.properties:
spring.testName=${testName}
spring.xml:
<context:property-placeholder location="classpath:test.properties"/>
<bean class="java.lang.String" id="nameTest">
<constructor-arg value="${spring.testName}"/>
</bean>