Fixed norm test to work with outdated numpy version.