Fixed test set up (nullpointer exceptions were being caused by bad
initialization of the test static attributes)