Revamped test string writing (incomplete)