Type ant test to run jUnit tests, you may need to add jUnit to Ant's classpath.
Sometimes you may get JVM crashes during unit testing, like
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=
This bug is caused by a default client JVM, as a workaround use -server JVM ,e.g. -Xmx256m -Xms64m -XX:MaxPermSize=128m -server