Adding in import rake task and fixing configs for rails tests on 3 and 4