Get near working state. Only outputs one test worth of data now