added test java files and same changed collections for coins