tests and implementation for loading correctly jcpds files