Added bitmap functionalities to testFragment.