cleaned up dynelf
better testing of dynelf.