Fixed norm test to work with outdated numpy function.