Update spring command from test to testunit