added order class and test