moved tests from pamailbox