Added "getData" method to tests covering
Fixed typo