Improved axes_reset command. Fixes #52

I have made some adjustments to reset command, it's more clear how it works, and also now has tests too