Fix input type in unit tests