added instantiation test (the most basic)
added corresponding ruby test file
moving defines that were in wrong place