fix a revel error in test dir