got rid of unused imports
resolving absolute data directory to pass test