First example works fine 3.x for me. 1.5 is way outdated :(