Added test for unconstrained optimization and also fixed bug in _check_imports method

There is was bug in pyOpt that caused it to fail on unconstrained optimization. Therefore this wrapper failed too.

The pyOpt bugs were fixed for COBYLA, CONMIN and SNOPT. 

This adds a test for unconstrained optimization