Added support for Robolectric and modified tests to suit it

why did we delete progaurd and project.properties