Fixed support for classpath hooks and added unit tests