started static magnetic unit test
more progress on unit tests