Added test's dependecies to pom.xml.
Added controller's test.