Added test to verify classpath attributes are not dropped