Removed automatic OptProblem and architecture detection.

Removed automatic OptProblem and architecture detection in test.