Fix reference.
Fix reference and allow standalone test excution.