Fixed pmalloc alignment bug; added testing code