update location test
improvement locations methods
add init