Added a class for non-android junit testing