test method define in toplevel