simplified test.jl, still some work to do