add (failing) local reference test
move test to src directory