copy from test to spec