Added Constructor to Adapter

Added some code to the adapter test