Added test case for ensuring that custom shortname can be provided on the fly.