added test so verify that arguments are correct