tests/pkg: fixed issues from #919
Merge pull request #929 from haukepetersen/hwtimer_cleanup_fix

tests/pkg: fixed issues from #919