successfully writing test data to console