Testing Spring framework