Added testing

Added testing unsing xUnit