Test places order
Refactor tests