from test to spec