Clean up libnode tests to use readatleast