Refactored camresolutiontest to a single class