Handle NAs correctly. Also update test.jl and REQUIRE. Also change all tabs to 4 spaces