fix tests being not executed, fix broken tests. Make parameter list of
get_env/3 follow example of application:get_env/2