Design and test of a graphite target system for in-flight fragment separator