Brought up to date with scala core, added background to test