Fix bug for serial rows creation
Tests refactoring