Added Spring support for detached mocks
Added more tests and alternate way of instatiating mocks