Added BatTesting
Resolved warnings