Testing Java Spring Out