Refuge JUnit Test added

A test for the methods included in the refuge class has been added