Autoscaler - handling of few errors added, unit tests and more refactoring