refno test error if not present
Added tests for refno numbers only
Refactored names to be more generic
more test for min length added