Testing Rest system in android annotations