move test/shared to test/fixtures and make tests pass on ubuntu 12.04