misc: fails test with correct length

Add test case which shows that the misc driver fails if a bad id is
written which has the correct length.