fixed unit tests - using different application contexts