Added support for Robolectric and modified tests to suit it

it only works for 15,16,,17,18