added junit adaptor tests

added junit adaptor tests