made unit test output int instead of string