enhancement - implemented test script for http://bugzilla.fcdonders.nl/s...

I made a test script for bug 2040. Martin has already fixed the actual bug in svn.