LPS-31876 Add spring test, mockito and powermock support to plugin tests

This never got added due to conflict with ivy changes. Reworked it to work with ivy.