Added real junit tests