Added mining algo test