Fixed nullpointer exception when classpth resource is not available.
Added bas class for server tests.
Added tests for missing resources.