updated core functionality to numpy
renamed test files