refactored get_number_names/1 and divided into two smaller funs
altered way of test execution