added some test fixtures, started re-implementing tests and refactoring Javelin.Engine