added more test
added states resource