Test recording

It kinda only works for Junit.