added test cases for dAmn packets. fixed constructor functions.