test with action returning null
Added tests for issue #125
Added fixes for test :)
Only create new Targets value if it not created before (fixes #125)