Application should have either resources or classloader
Refine tests