added xml and binary tests