Changed parameter order in order to conform to xunit